Tool to Measure and Refactor Complex UML Models
نویسندگان
چکیده
Using UML modeling for designing a software product is heavily used by the industry. However the tool support for model based development have not reached the same level as the tool support of source code based development. Our goal was to provide a tool to support refactoring and static analysis of UML models, which were developed in the open source modeling framework, Papyrus [Papyrus 2014]. There are tools, such as EMF Refactor [Arendt et al. 2010], that targets refactoring of EMF models. This tool provides an extensible framework for defining EMF model transformations and also model metric calculations. Several class refactorings and metrics have been defined in EMF Refactor. Therefore we based our tool on this framework. The main contributions of our work are the followings. (i) We have built a refactoring tool for Papyrus models based on EMF Refactor. (ii) We have implemented several state machine based refactorings. (iii) We have defined well-known model complexity metrics for state machines and introduced some new metrics to measure the models. (iv) We have implemented bad smell detectors and refactorings to reduce the complexity of the models. The rest of this paper is structured as follows. In Section 2 we briefly introduce EMF Refactor and Papyrus. Section 3 illustrates the usage of our tool with an example at first, and then Sections 4, 5 and 6 present all of the features. Finally, Section 7 presents some related work and Section 8 concludes the paper.
منابع مشابه
M-REFACTOR: A New Approach and Tool for Model Refactoring
We present a new approach and tool (MRefactor) for model refactoring; we propose an extension of the UML metamodel for the assisted Model Driven Refactoring (MDR). Based on model qualities metrics and design flaws, we propose a new demarche allowing the automated detection of model refactoring opportunities and the assisted model restructuration. Precisely we focus on class and sequence diagrams.
متن کاملAspect Oriented UML to ECORE Model Transformation
With the emerging concept of model transformation, information can be extracted from one or more source models to produce the target models. The conversion of these models can be done automatically with specific transformation languages. This conversion requires mapping between both models with the help of dynamic hash tables. Hash tables store reference links between the elements of the source...
متن کاملVerification of Good Design Style of UML Models
Software architecture, and its behavior can be expressed as UML models. Models of complex systems can be also complex and hard to read – they may consists of hundreds of artifacts. Analysis of such complicated models is very difficult. Applying design guidelines make this process easier. Design guidelines consist of some rules, and constraints that should be applied during models construction. ...
متن کاملFixing Generalization Defects in UML Use Case Diagrams
Use case diagrams appear in early steps of a UML-based development. They capture user requirements, structured by the concepts of use cases and actors. An admitted good modeling practice is to design simple, easy-to-read use case diagrams. That can be achieved by introducing relevant generalizations of actors and use cases. The paper proposes an approach based on Formal Concept Analysis and one...
متن کاملMapping Sequence diagram in Fuzzy UML to Fuzzy Petri Net
This ability in fuzzy UML, practically leaves the customers and market’s need without response in this important and vital area. Here, the available sequence diagrams in fuzzy UML will map into fuzzy Petri net. However, the formal models ability will be added to the Semi-formal fuzzy UML. This formalization will add the automatic processing ability to the Semi-formal fuzzy UML. Further more, t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016